package top.api.Constants;

public class SystemConstants
{

    public static final int DelFlagOK = 0;

    public static final int DelFlagNO = 1;

    public static final int ROLE_STATUS_NORMAL = 0;

    /**
     *  文章是正常分布状态
     */
    public static final int STATUS_NORMAL = 0;

    public static final int STATUS_MENU_OK = 0;

    /**
     *  文章是草稿
     */
    public static final int ARTICLE_STATUS_DRAFT = 1;
    /**
     *  文章是正常分布状态
     */
    public static final int ARTICLE_STATUS_NORMAL = 0;

    /**
     *  友链是正常分布状态
     */
    public static final int LINK_STATUS_NORMAL = 0;

    /**
     * blog redis userId key
     */
    public static final String REDIS_LOGIN_BLOG_KEY = "blogLogin:";
    /**
     * admin redis userId key
     */
    public static final String REDIS_LOGIN_ADMIN_KEY = "adminLogin:";
    /**
     * redis viewCount key
     * 文章浏览量 key
     */
    public static final String REDIS_VIEWCOUNT_KEY = "article:viewCount";
    /**
     * 评论类型为：文章评论
     */
    public static final String ARTICLE_COMMENT = "0";
    /**
     * 评论类型为：友联评论
     */
    public static final String LINK_COMMENT = "1";

    public static final String MENU = "C";
    public static final String BUTTON = "F";

    public static final String ADMAIN = "1";
}